import request from "@/utils/request"

// 获取列表
export const listOsiPlan = (params = {}) => { return request.get('/business/inspectionPlan/list', { params }) }
// 获取详情
export const getOsiPlanById = (params) => { return request.get(`/business/inspectionPlan/${params}`) }
// 删除
export const deleteOsiPlan = (params) => { return request.delete('/business/inspectionPlan', { data: params }) }
// 修改
export const updateOsiPlan = (params = {}) => { return request.put(`/business/inspectionPlan`, params) }
// 新增
export const addOsiPlan = (params = {}) => { return request.post('/business/inspectionPlan', params) }